package com.asset.dispoal.business.bsEvidenceRecognition.domain.db.mapper;

import com.asset.dispoal.business.bsEvidenceRecognition.domain.db.entity.BsRecognitionAllRecord;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

/**
 * @author qr
 * @date 2022/5/10$
 */
@Mapper
public interface BsRecognitionAllRecordMapper {


    void insert(@Param("data") BsRecognitionAllRecord bsRecognitionAllRecord);

    void updateStateByBatchId(@Param("batchId") String batchId, @Param("state") String state);

    Integer checkState(@Param("batchId") String batchId);

    String getAssetBatchIdByBatchId(@Param("batchId") String batchId);

    void updateStateAllByBatchId(@Param("batchId") String batchId);
}
